// 封装本地存储数据与读取数据方法

// 存储
export const setToken = (token: string) => {
    localStorage.setItem('token', token)
    
}

// 读取

export const getToken = () => {
    return localStorage.getItem('token')
}


// 本地存储删除方法

export const removeToken = () => {
    localStorage.removeItem('token')
}